package com.ProductionAndConsumption;

import com.study03.Store;

public class Test {
    public static void main(String[] args) {
        Store2 store2 = new Store2();
        while (true){
            Thread product = new Thread(new Product(store2));
            Thread buyer = new Thread(new buyer(store2));
            product.start();
            buyer.start();
        }


    }
}

